package cn.kone.constants;


//常量维护
public class Constants {

    //手机号正则表达式
    public static final String CHINA_PHONE_REGEX =  "^((13[0-9])|(14[0,1,4-9])|(15[0-3,5-9])|(16[2,5,6,7])|(17[0-8])|(18[0-9])|(19[0-3,5-9]))\\d{8}$";

    //编码
    public static final String UTF_8 = "UTF-8";

    //腾讯云存储COS的秘钥
    public static final String SECRET_ID = "AKIDMbzJWUEj4G8rOFQlxw34xdEl8LObdWHq";
    //腾讯云存储COS的key
    public static final String SECRET_KEY = "84lERPdp4HIKG1Y0MdgZGi3AoofKpMw4";

    //腾讯云存储COS的桶的名字
    public static final String BUCKET_NAME = "fycar-1322182163";

    //司机服务
    public class Driver {

        public static final int TYPE_DRIVER = 0;
        public static final int TYPE_CUSTOMER = 1;
    }

    //乘客订单状态
    public class Customer {
        public static final int  WAITING_FOR_ORDER = 0; //等待接单
        public static final int ORDER_ACCEPTED = 1;//已接单
        public static final int DRIVER_ARRIVED = 2;//司机已到达
        public static final int JOURNEY_STARTED = 3;//开始代驾
        public static final int JOURNEY_ENDED = 4;//结束代驾
        public static final int DRIVER_CONFIRMED_FARE = 5;//司机确认费用
        public static final int UNPAID = 6;//未付款
        public static final int PAID = 7;//已付款
        public static final int ORDER_COMPLETED = 8;//订单已结束
        public static final int CUSTOMER_CANCELED = 9;//顾客撤销订单
        public static final int DRIVER_CANCELED = 10;//司机撤销订单
        public static final int CLOSED_DUE_TO_ACCIDENT = 11;//事故关闭
        public static final int OTHER = 12;//其他


    }



    //远程调用
    public class Remote {
        //服务名
        public static final String SERVICE_UAA = "it-fccar-service-uaa";

        public static final String PREFIX_LOGIN_REMOTE = "/login/remote";
    }

}
